<?php if(!defined('APP_ROOT')){exit('error!');}
$userData = $this->userData;
?>
<script type="text/javascript">
// 定义一些js全局变量
var postToken = '<?php echo loginAuth::genToken();?>';
</script>
<div id="box-header">
    <div class="left">
    	<div id="logo">
    		<a href="<?php echo APP_URL;?>manage/index"></a>
    	</div>
    </div>
    <div class="right">
    	<span><b><?php echo $userData['username'];?></b>，欢迎登陆管理后台！</span>
    	<span><a href=""><i class="fa fa-cog"></i> 系统设置</a></span>
    	<span><a href="<?php echo APP_URL;?>index/logout"><i class="fa fa-power-off"></i> 退出登录</a></span>
    </div>
    <div class="clearfix"></div>
</div>